﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GKQC.DbHelper.DbModels
{
	//报表设置
	[SugarTable("t_rep_set")]
	public class ReportSetModel
	{
		public ReportSetModel()
        {
			this.IsUse = 1;
			this.Count = 1;
			this.ElectricQty = 10;
			this.SortId = 9999;
		}
		/// <summary>
		/// 流水号
		/// </summary>
		[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
		public int Id { get; set; }
		/// <summary>
		/// 报表代码
		/// </summary>		
		public string Code { get; set; }
		/// <summary>
		/// 单据类型
		/// </summary>		
		public string BillName { get; set; }
		/// <summary>
		/// 报表组别
		/// </summary>		
		public string GroupName { get; set; }
		/// <summary>
		/// 报表名称
		/// </summary>		
		public string Name { get; set; }
		/// <summary>
		/// 内含报表数量
		/// </summary>		
		public int Count { get; set; }
		/// <summary>
		/// 电气检测数量
		/// </summary>		
		public int ElectricQty { get; set; }
		/// <summary>
		/// 尺寸检测数量
		/// </summary>		
		public int SizeQty { get; set; }
		/// <summary>
		/// 是否启用
		/// </summary>		
		public int IsUse { get; set; }
		public bool HasLc2 { get; set; }
		public bool HasEsr2 { get; set; }
		public bool HasZ2 { get; set; }
		/// <summary>
		/// 模板文件路径
		/// </summary>		
		public string Path { get; set; }
		/// <summary>
		/// 备注
		/// </summary>		
		public string Remark { get; set; }



		public DateTime? ModiDate { get; set; }
		public string ModiUser { get; set; }

		/// <summary>
		/// 排序号
		/// </summary>
		public int SortId { get; set; }


		[SugarColumn(IsIgnore = true)]
		public bool IsModified { get; set; }
	}
}
